import happybase
connection = happybase.Connection('10.2.111.56', 9090)
# connection.create_table(
#     'mytable',
#     {
#      'cf': dict() # use defaults
#     }
# )
table = connection.table('mytable')
for i in range(1000):
    key = 'a' + str(i)
    table.put(key.encode(), {b'cf:col1': ('value'+str(i)).encode()})
row = table.row(b'a123', columns=[b'cf'])
print('ok')